package com.zzu.base.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum UserStatusEnum {
    ON(0,"启用"),
    OFF(1,"停用");
    @EnumValue
    @JsonValue
    private  final int id;
    private final String description;
    UserStatusEnum(int id,String description){
        this.id=id;
        this.description=description;
    }
}
